﻿// JScript 文件

function fullScreenKeyDown(){
	var keycode = event.keyCode?event.keyCode:event.which?event.which:event.charCode;

    if((event.altKey)&&(event.keyCode==49)){
        var menu = parent.frames["menuFrame"].document.childNodes[0].document.getElementById("hideFlag");
        var bar =  parent.frames["controlbarFrame"].document.childNodes[0].document.getElementById("hideFlag");
        var logo = parent.frames["menuFrame"].document.childNodes[0].document.getElementById("logoDiv")
        if(bar.value == "hide") {
            parent.workFrame.rows="53,35,*,22";
            parent.navworkFrame.cols="216,7,*";
   		    logo.style.display="none";
            menu.value = "display";
            bar.value = "display";
        } else {
            parent.workFrame.rows="0,35,*,0";
            parent.navworkFrame.cols="0,7,*";
            logo.style.display="";
            menu.value = "hide";
            bar.value = "hide";
        }
    }
}